package com.cn.xiaonuo.tcrfinance.tcrusers.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("pv_wallet_shop_log")
public class PvWalletShopLog implements Serializable {

    /**
     * 唯一标识
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 商户ID
     */
    private Integer shopId;

    /**
     * 订单ID
     */
    private Integer orderId;

    /**
     * 变化前余额
     */
    private BigDecimal beforeChangeBalance;

    /**
     * 变化后余额
     */
    private BigDecimal afterChangeBalance;

    /**
     * 变化余额
     */
    private BigDecimal changeBalance;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 类型:1买2卖3充值4.出金5.撤单6.七层分润7.手续费8.养老金
     */
    private Integer types;

    /**
     * 操作人
     */
    private Integer operation;

    /**
     * 店铺名称
     */
    private String shopName;

}
